package org.example.common;

import java.util.List;

/**
 * @author liyishan
 * @date 2023/4/18 16:35
 */

public class AdminSessionBean extends BaseSessionBean{

    private String departmentId;
    private String departmentName;
    private String distributeCompanyId;
    private String mobile;
    private List<String> banIndustryNos;
    private List<String> distributeCompanyNos;
    private String employeeType;
    private String departmentRole;
    private List<String> departmentUserIds;

    public AdminSessionBean() {
    }

    public String getDepartmentId() {
        return this.departmentId;
    }

    public String getDepartmentName() {
        return this.departmentName;
    }

    public String getDistributeCompanyId() {
        return this.distributeCompanyId;
    }

    public String getMobile() {
        return this.mobile;
    }

    public List<String> getBanIndustryNos() {
        return this.banIndustryNos;
    }

    public List<String> getDistributeCompanyNos() {
        return this.distributeCompanyNos;
    }

    public String getEmployeeType() {
        return this.employeeType;
    }

    public String getDepartmentRole() {
        return this.departmentRole;
    }

    public List<String> getDepartmentUserIds() {
        return this.departmentUserIds;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public void setDistributeCompanyId(String distributeCompanyId) {
        this.distributeCompanyId = distributeCompanyId;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setBanIndustryNos(List<String> banIndustryNos) {
        this.banIndustryNos = banIndustryNos;
    }

    public void setDistributeCompanyNos(List<String> distributeCompanyNos) {
        this.distributeCompanyNos = distributeCompanyNos;
    }

    public void setEmployeeType(String employeeType) {
        this.employeeType = employeeType;
    }

    public void setDepartmentRole(String departmentRole) {
        this.departmentRole = departmentRole;
    }

    public void setDepartmentUserIds(List<String> departmentUserIds) {
        this.departmentUserIds = departmentUserIds;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof AdminSessionBean)) {
            return false;
        } else {
            AdminSessionBean other = (AdminSessionBean) o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label119:
                {
                    Object this$departmentId = this.getDepartmentId();
                    Object other$departmentId = other.getDepartmentId();
                    if (this$departmentId == null) {
                        if (other$departmentId == null) {
                            break label119;
                        }
                    } else if (this$departmentId.equals(other$departmentId)) {
                        break label119;
                    }

                    return false;
                }

                Object this$departmentName = this.getDepartmentName();
                Object other$departmentName = other.getDepartmentName();
                if (this$departmentName == null) {
                    if (other$departmentName != null) {
                        return false;
                    }
                } else if (!this$departmentName.equals(other$departmentName)) {
                    return false;
                }

                label105:
                {
                    Object this$distributeCompanyId = this.getDistributeCompanyId();
                    Object other$distributeCompanyId = other.getDistributeCompanyId();
                    if (this$distributeCompanyId == null) {
                        if (other$distributeCompanyId == null) {
                            break label105;
                        }
                    } else if (this$distributeCompanyId.equals(other$distributeCompanyId)) {
                        break label105;
                    }

                    return false;
                }

                Object this$mobile = this.getMobile();
                Object other$mobile = other.getMobile();
                if (this$mobile == null) {
                    if (other$mobile != null) {
                        return false;
                    }
                } else if (!this$mobile.equals(other$mobile)) {
                    return false;
                }

                label91:
                {
                    Object this$banIndustryNos = this.getBanIndustryNos();
                    Object other$banIndustryNos = other.getBanIndustryNos();
                    if (this$banIndustryNos == null) {
                        if (other$banIndustryNos == null) {
                            break label91;
                        }
                    } else if (this$banIndustryNos.equals(other$banIndustryNos)) {
                        break label91;
                    }

                    return false;
                }

                Object this$distributeCompanyNos = this.getDistributeCompanyNos();
                Object other$distributeCompanyNos = other.getDistributeCompanyNos();
                if (this$distributeCompanyNos == null) {
                    if (other$distributeCompanyNos != null) {
                        return false;
                    }
                } else if (!this$distributeCompanyNos.equals(other$distributeCompanyNos)) {
                    return false;
                }

                label77:
                {
                    Object this$employeeType = this.getEmployeeType();
                    Object other$employeeType = other.getEmployeeType();
                    if (this$employeeType == null) {
                        if (other$employeeType == null) {
                            break label77;
                        }
                    } else if (this$employeeType.equals(other$employeeType)) {
                        break label77;
                    }

                    return false;
                }

                label70:
                {
                    Object this$departmentRole = this.getDepartmentRole();
                    Object other$departmentRole = other.getDepartmentRole();
                    if (this$departmentRole == null) {
                        if (other$departmentRole == null) {
                            break label70;
                        }
                    } else if (this$departmentRole.equals(other$departmentRole)) {
                        break label70;
                    }

                    return false;
                }

                Object this$departmentUserIds = this.getDepartmentUserIds();
                Object other$departmentUserIds = other.getDepartmentUserIds();
                if (this$departmentUserIds == null) {
                    if (other$departmentUserIds != null) {
                        return false;
                    }
                } else if (!this$departmentUserIds.equals(other$departmentUserIds)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof AdminSessionBean;
    }

    public int hashCode() {
        int result = 1;
        Object $departmentId = this.getDepartmentId();
        result = result * 59 + ($departmentId == null ? 43 : $departmentId.hashCode());
        Object $departmentName = this.getDepartmentName();
        result = result * 59 + ($departmentName == null ? 43 : $departmentName.hashCode());
        Object $distributeCompanyId = this.getDistributeCompanyId();
        result = result * 59 + ($distributeCompanyId == null ? 43 : $distributeCompanyId.hashCode());
        Object $mobile = this.getMobile();
        result = result * 59 + ($mobile == null ? 43 : $mobile.hashCode());
        Object $banIndustryNos = this.getBanIndustryNos();
        result = result * 59 + ($banIndustryNos == null ? 43 : $banIndustryNos.hashCode());
        Object $distributeCompanyNos = this.getDistributeCompanyNos();
        result = result * 59 + ($distributeCompanyNos == null ? 43 : $distributeCompanyNos.hashCode());
        Object $employeeType = this.getEmployeeType();
        result = result * 59 + ($employeeType == null ? 43 : $employeeType.hashCode());
        Object $departmentRole = this.getDepartmentRole();
        result = result * 59 + ($departmentRole == null ? 43 : $departmentRole.hashCode());
        Object $departmentUserIds = this.getDepartmentUserIds();
        result = result * 59 + ($departmentUserIds == null ? 43 : $departmentUserIds.hashCode());
        return result;
    }

    public String toString() {
        return "AdminSessionBean(departmentId=" + this.getDepartmentId() + ", departmentName=" + this.getDepartmentName() + ", distributeCompanyId=" + this.getDistributeCompanyId() + ", mobile=" + this.getMobile() + ", banIndustryNos=" + this.getBanIndustryNos() + ", distributeCompanyNos=" + this.getDistributeCompanyNos() + ", employeeType=" + this.getEmployeeType() + ", departmentRole=" + this.getDepartmentRole() + ", departmentUserIds=" + this.getDepartmentUserIds() + ")";
    }
}
